package Dao.interfaces;

import java.util.List;

import exception.CrudException;

public interface ICrud <T> {
	
	public void inserir(T obj) throws CrudException;
	public void atualizar(T obj) throws CrudException;
	public void excluir(Class<T> classe, Long id) throws CrudException;
	public T carregar(Long id) throws CrudException;
	public List<T> carregarTodos() throws CrudException;
	
}
